home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-22 | 5.1 KB | 156 lines | [TEXT/R*ch] |
- ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
-
- SUMMARY
-
- Linesort -- A BBEdit Extension.
-
- Copyright (c) 1994, Craig H. Maynard. All rights reserved.
-
- Current Version: 1.2b1
-
- This new extension adds functionality to BBEdit and BBEdit Lite, the
- Macintosh text editors from Bare Bones Software. LineSort is capable
- of sorting small or large amounts of text with reasonable speed and
- predictable memory requirements.
-
-
- FEATURES
-
- - Sorts selected region of text, adjusting to span complete lines.
-
- - Offers a choice of standard (ASCII) or international ordering.
-
- - Capable of ignoring n leading characters, or leading whitespace.
-
- - Sorts lines in ascending or descending order.
-
- - Sorts lines in place, or pastes sorted lines into new document.
-
- - Supports the UNDO command (BBEdit version 3.0 or later).
-
- - Remembers sorting preferences.
-
- - Optionally skips dialog, after first sort in current document.
-
- See “Inside Macintosh: Text”, chapter 5, for a complete description
- of international text comparison.
-
-
- INSTALLATION
-
- Install LineSort by placing it in the folder called "BBEdit Extensions",
- which should be located either inside the same folder as BBEdit itself,
- or inside the Extensions folder of the active System Folder.
-
-
- USAGE NOTES
-
- IMPORTANT: During testing with the commercial version of BBEdit 3.0, we
- encountered a serious memory error that caused the system to crash.
- Upgrading to BBEdit 3.0.1 appeared to fix the problem. We strongly
- urge BBEdit 3.0 users to upgrade to BBEdit 3.0.1 before using LineSort 1.2.
-
- Use the “Standard” option to sort text at maximum speed. The
- “International” option is useful if you want to ignore case or other
- secondary characteristics.
-
- LineSort always assumes that the selected text is composed in a single
- script and language.
-
- LineSort tries to allocate a block of additional memory approximately
- the same size as the selected region. If sufficient memory is
- not available, LineSort displays an alert and returns control to
- BBEdit.
-
- The "Skip Dialog" option is similiar to the BBEdit option key modifier.
- Select this option if you wish to repeatedly sort text within the
- current document, using the same sorting parameters. "Skip Dialog"
- remembers the name of the most recently sorted document, so to turn
- this option off you will need to sort a different document.
-
- If you require additional Macintosh sorting functionality not provided
- by LineSort, we recommend the MPW sort tool.
-
-
- USER SUPPORT
-
- This version is a “public beta”; it is substantially feature-complete,
- and does what it says it does. It is in need of real field-testing. If
- you have a problem using it, or if you run into anomalous behavior,
- please contact us (preferably via e-mail):
-
- Craig H. Maynard
- PO Box 472
- Cupertino, CA 95015
- maynard@apple.com
-
-
- DISTRIBUTION
-
- This extension is free software. You may redistribute it under the terms
- of the GNU General Public License as published by the Free Software
- Foundation; either version 2 of the License, or (at your option) any
- later version.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- For a copy of the GNU General Public License, write to the Free
- Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, MA 02139,
- USA.
-
- The latest source code for LineSort is available from the developer,
- under terms of the GNU General Public License, section 3.
-
-
- MODIFICATION HISTORY
-
- Date Version Change
-
- 940813 1.0 add dialog item to ignore n leading chars
- 940814 1.0 add BBEdit callback version-checking
- 940814 1.0 add dialog checkbox to paste sorted lines into new window
- 940909 1.0 switch from quicksort to heapsort
- 940910 1.0 add BBEdit progress bar
-
- 940921 1.1 About-Box compatible with M68000 Macs
-
- 940927 1.2 IUMagIDString() obsolete; now uses IdenticalText()
- 940927 1.2 IUMagString() obsolete; now uses CompareText()
- 941004 1.2 exclude end-of-line byte during line comparison
- 941009 1.2 add option to ignore leading whitespace
- 941009 1.2 add option to skip the sort dialog for the current document
- 941018 1.2 enable UNDO command (BBEdit version 3.0 or later)
- 941021 1.2 add custom progress bar
-
-
- RELEASE HISTORY
-
- Date Version Site
-
- 940914 1.0 Info-Mac
- 940921 1.1 Info-Mac
- 941023 1.2b1 Info-Mac
-
-
- CREDITS AND ACKNOWLEDGMENTS
-
- Sorting algorithm adapted from Korsh & Garrett, "Data Structures,
- Algorithms and Program Style Using C", 1st edition, page 386.
-
- Sorting progress bar implemented using the CModalProgress class by
- Graham Heathcote <heathcot@bnr.ca>.
-
- Some of the text in this document was copied without permission from
- publications of Bare Bones Software and the Free Software Foundation.
-
- Our thanks to Bare Bones Software <bbsw@netcom.com> for providing an
- excellent interface for writing BBEdit extensions. Obviously, LineSort
- would not have been possible without this functionality. Jeepers,
- Richard, we're so impressed!
-
-
- ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
-